tree.ui.Dialog = Class({

    extend: tree.ui.Overlay,
    
    init: function(text)
	{
		tree.ui.Overlay.apply(this);
		this.htmlelem = document.createElement('div');
		this.center();
		this.innerHTML = text;
		this.set_border_width(3);
		this.make_draggable();
	},
});

mixin(tree.ui.Dialog, tree.ui.Draggable);
d = new tree.ui.Dialog('text');
